package com.zhuoshi.service;

import java.util.List;

import com.zhuoshi.entity.Marketing;
import com.zhuoshi.entity.MarketingVoPo;
import com.zhuoshi.mapper.MarketingCustomMapper;



/*
 * Author 海生
 */
public interface MarketingService {

	//查询所有接待记录
	List<MarketingVoPo> selectJiLuAll() throws Exception;

	//删除接待记录
	int deleteKuhujiedaiLu(int id) throws Exception;

	//批量删除客户接待记录
	int DeleteAllKuhujiedai(String[] id) throws Exception;

	//查询显示客户姓名和业务员接待记录
	List<MarketingCustomMapper> selectByNameAndUsername() throws Exception;

	//添加客户接待记录
	int addKuhujiedaijilu(Marketing marketing) throws Exception;

	//根据id查询一条接待记录
	MarketingVoPo selectJiDaijiluById(int id);

	//修改客户接待记录
	int updateKuhujiedaijilu(MarketingVoPo marketingvopo);

	
}
